metasyntactic variable - définition. Qu'est-ce que metasyntactic variable
Diclib.com
Dictionnaire ChatGPT
Entrez un mot ou une phrase dans n'importe quelle langue 👆
Langue:

Traduction et analyse de mots par intelligence artificielle ChatGPT

Sur cette page, vous pouvez obtenir une analyse détaillée d'un mot ou d'une phrase, réalisée à l'aide de la meilleure technologie d'intelligence artificielle à ce jour:

  • comment le mot est utilisé
  • fréquence d'utilisation
  • il est utilisé plus souvent dans le discours oral ou écrit
  • options de traduction de mots
  • exemples d'utilisation (plusieurs phrases avec traduction)
  • étymologie

Qu'est-ce (qui) est metasyntactic variable - définition

PLACEHOLDER TERM USED IN COMPUTER SCIENCE
Quux; Metasyntactic variables; Metasynatic variable; ZXC; Metasyntactical variable; Canonical metasyntactical variable; Canonical metasyntactic variable; Metasyntatic variables; Gazonk; Zxc; Arfle; Barfle; Corge; Grault; Garply; Bat (metasyntactic variable); Quuux; Flob; Metasyntatic variable; Metasyntactic variable (computing); Meta-syntactic variable
  • A screenshot of a metasyntactic variable FOO assigned and echoed in an interactive shell session.

metasyntactic variable         
<grammar> Strictly, a variable used in metasyntax, but often used for any name used in examples and understood to stand for whatever thing is under discussion, or any random member of a class of things under discussion. The word foo is the canonical example. To avoid confusion, hackers never (well, hardly ever) use "foo" or other words like it as permanent names for anything. In filenames, a common convention is that any filename beginning with a metasyntactic-variable name is a scratch file that may be deleted at any time. To some extent, the list of one's preferred metasyntactic variables is a cultural signature. They occur both in series (used for related groups of variables or objects) and as singletons. Here are a few common signatures: foo, bar, baz, quux, quuux, quuuux...: MIT/Stanford usage, now found everywhere. At MIT (but not at Stanford), baz dropped out of use for a while in the 1970s and '80s. A common recent mutation of this sequence inserts qux before quux. bazola, ztesch: Stanford (from mid-'70s on). foo, bar, thud, grunt: This series was popular at CMU. Other CMU-associated variables include ack, barf, foo, and gorp. foo, bar, fum: This series is reported to be common at Xerox PARC. fred, barney: See the entry for fred. These tend to be Britishisms. toto, titi, tata, tutu: Standard series of metasyntactic variables among francophones. corge, grault, flarp: Popular at Rutgers University and among GOSMACS hackers. zxc, spqr, wombat: Cambridge University (England). shme: Berkeley, GeoWorks, Ingres. Pronounced /shme/ with a short /e/. foo, bar, zot: Helsinki University of Technology, Finland. blarg, wibble: New Zealand Of all these, only "foo" and "bar" are universal (and baz nearly so). The compounds foobar and "foobaz" also enjoy very wide currency. Some jargon terms are also used as metasyntactic names; barf and mumble, for example. See also Commonwealth Hackish for discussion of numerous metasyntactic variables found in Great Britain and the Commonwealth. [Jargon File] (1995-11-13)
Metasyntactic variable         
A metasyntactic variable is a specific word or set of words identified as a placeholder in computer science and specifically computer programming. These words are commonly found in source code and are intended to be modified or substituted before real-world usage.
quux         
/kwuhks/ [Mythically, from the Latin semi-deponent verb quuxo, quuxare, quuxandum iri; noun form variously "quux" (plural "quuces", anglicised to "quuxes") and "quuxu" (genitive plural is "quuxuum", for four u-letters out of seven in all, using up all the "u" letters in Scrabble).] 1. Originally, a metasyntactic variable like foo and foobar. Invented by Guy Steele for precisely this purpose when he was young and naive and not yet interacting with the real computing community. Many people invent such words; this one seems simply to have been lucky enough to have spread a little. In an eloquent display of poetic justice, it has returned to the originator in the form of a nickname. 2. See foo; however, denotes very little disgust, and is uttered mostly for the sake of the sound of it. 3. Guy Steele in his persona as "The Great Quux", which is somewhat infamous for light verse and for the "Crunchly" cartoons. 4. In some circles, used as a punning opposite of "crux". "Ah, that's the quux of the matter!" implies that the point is *not* crucial (compare tip of the ice-cube). [Jargon File]

Wikipédia

Metasyntactic variable

A metasyntactic variable is a specific word or set of words identified as a placeholder in computer science and specifically computer programming. These words are commonly found in source code and are intended to be modified or substituted before real-world usage. The words foo and bar are good examples as they are used in over 330 Internet Engineering Task Force Requests for Comments, the documents which define foundational internet technologies like HTTP (web), TCP/IP, and email protocols.

By mathematical analogy, a metasyntactic variable is a word that is a variable for other words, just as in algebra letters are used as variables for numbers.

Metasyntactic variables are used to name entities such as variables, functions, and commands whose exact identity is unimportant and serve only to demonstrate a concept, which is useful for teaching programming.